function foo() {} 
console.log(foo.__proto__.__proto__.__proto__);
console.log(foo.prototype.prototype);